import allure

from base.base_page import BasePage
from locator.recharge_center_page_loc import *


class RechargeCenterPage(BasePage):
    @allure.step("获取文本'选择充值方式'")
    def get_recharge_method_text(self):
        txt = self.get_text(assert_recharge_success_loc)
        return txt
